package com.spring.web.adminmanage.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by hetao on 2017/9/18
 */
@Controller
public class ErrorController {

    @RequestMapping("/404")
    public String demo0() {
        return "404";
    }

    @RequestMapping("/500")
    public String demo1() {
        return "500";
    }

}
